package design.proxy.dynamic;

/**
 * \* User: Administrator
 * <p>
 * \* Date: 2020/9/21
 * <p>
 * \* Time: 16:54
 * <p>
 * \* Description:
 * \
 */
public class GamePlayer implements IGamePlayer {
    private String name;

    public GamePlayer(String name) {
        this.name = name;
    }

    @Override
    public void login() {
        System.out.println(name + "登录");
    }

    @Override
    public void play() {
        System.out.println(name + "打怪");
    }
}
